package fr.jade.fraclite.api;

import org.objectweb.fractal.api.factory.InstantiationException;

import fr.jade.fraclite.InitializationContext;

/**
 * A controller object, i.e., an object that belongs to the controller part of
 * a component. This interface is used to initialize these controller objects.
 */

public interface Controller {

  /**
   * Initialize this controller object.
   *
   * @param ic information about the component to which this controller object belongs.
   * @throws InstantiationException if the initialization fails.
   */

  void initFcController (InitializationContext ic) throws InstantiationException;
}
